package com.iclub.service.impl;


import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.iclub.dao.ActiveInfoDao;
import com.iclub.dao.IClubUserDao;
import com.iclub.dao.MerchantDao;
import com.iclub.dao.MessageDao;


/**
 * 基础服务类
 */
@Service
public class BaseService {
	// 日志级别
	protected Logger log_detail = Logger.getLogger("DETAIL");
	
	// 对象去空
	protected String trim(Object src) {
		return src == null ? "" : src.toString().trim();
	}
	@Autowired
	protected ActiveInfoDao activeInfoDao;
	
	@Autowired
	protected IClubUserDao iClubUserDao;
	
	@Autowired
	protected MerchantDao merchantDao;
	
	@Autowired
	protected MessageDao messageDao;
	
}
